package com.yt.app.core.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * Description
 * <p> 健康数据
 * </p>
 * DATE 2017/9/29.
 *
 * @author liujunshi.
 */
@ApiModel(value = "HealthData", description = "健康数据")
public class HealthData implements Serializable {
    @ApiModelProperty(value = "健康数据ID", required = false, notes = "修改时必传")
    private Long id;
    @ApiModelProperty(value = "用户ID,", hidden = true)
    private Long uid;
    @ApiModelProperty(value = "数据类型ID", required = true)
    private Integer dataTypeId;
    @ApiModelProperty(value = "数据值", required = true)
    private String dataValue;
    @ApiModelProperty(value = "日期，格式yyyyMMdd", required = true)
    private Integer dateline;
    @ApiModelProperty(value = "添加时间", required = false, notes = "自动使用服务器时间")
    private Long modifyTime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getUid() {
        return uid;
    }

    public void setUid(Long uid) {
        this.uid = uid;
    }

    public Integer getDataTypeId() {
        return dataTypeId;
    }

    public void setDataTypeId(Integer dataTypeId) {
        this.dataTypeId = dataTypeId;
    }

    public String getDataValue() {
        return dataValue;
    }

    public void setDataValue(String dataValue) {
        this.dataValue = dataValue;
    }

    public Integer getDateline() {
        return dateline;
    }

    public void setDateline(Integer dateline) {
        this.dateline = dateline;
    }

    public Long getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Long modifyTime) {
        this.modifyTime = modifyTime;
    }
}
